import Layout from '@/layout'
export default {
  path: '/employee',
  component: Layout,
  name: 'Employee',
  meta: { title: '员工管理', icon: 'staff' },
  children: [
    {
      path: 'courier',
      name: 'Courier',
      meta: { title: '快递员管理' },
      component: () => import('@/views/Employee/module/courier')
    },
    {
      path: 'driver',
      name: 'Driver',
      meta: { title: '司机管理' },
      component: () => import('@/views/Employee/module/driver')
    },
    {
      path: 'scheduling',
      name: 'Scheduling',
      meta: { title: '排班管理' },
      component: () => import('@/views/Employee/module/scheduling')
    },
    {
      path: 'jodArea/:id',
      name: 'JodArea',
      meta: { title: '作业范围' },
      component: () => import('@/views/Employee/module/jod-area'),
      hidden: true
    },
    {
      path: 'driverDetail/:id',
      name: 'DriverDetail',
      meta: { title: '司机详情' },
      component: () => import('@/views/Employee/module/driver-detail'),
      hidden: true
    },
    {
      path: 'schedulingList',
      name: 'SchedulingList',
      meta: { title: '排班列表' },
      component: () => import('@/views/Employee/module/scheduling-list'),
      hidden: true
    }
  ]
}
